Ping Pong Ball (on HTML 5 Canvas)
Throw the ball by holding and releasing the left mouse button on the canvas (reverse slingshot)
- gravity - downward force constantly applied to the ball
- damping - velocity reduction force whenever contacting a surface
- traction - slows horizontal movement when contacting the floor/ground
The javascript for this page is slightly modified from the code
here, provided by Shomz